package cn.TreeMenu.service.impl;

import cn.TreeMenu.Dao.TreemenuDao;
import cn.TreeMenu.entity.Do.Treemenu;
import cn.TreeMenu.service.ItreeMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TreeMenuService implements ItreeMenu {

    @Autowired
    private TreemenuDao treemenuDao;
    @Override
    public List<Treemenu> selectTreeMenu(String power) {
        return treemenuDao.selectTreeMenu(power);
    }
}
